package com.dawn.module.cms.controller.admin.department.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 科室信息新增/修改 Request VO")
@Data
public class DepartmentSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14798")
    private Long id;

    @Schema(description = "父ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18934")
    @NotNull(message = "父ID不能为空")
    private Long parentId;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "昵称", example = "王五")
    private String nickname;

    @Schema(description = "封面图")
    private String coverImg;

    @Schema(description = "电话")
    private String phone;

    @Schema(description = "工作时段")
    private String workRange;

    @Schema(description = "擅长病种")
    private String tags;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "机构名称", example = "王五")
    private String orgName;

    @Schema(description = "his科室编码")
    private String hisDeptCode;

    @Schema(description = "his科室名称", example = "张三")
    private String hisDeptName;

    @Schema(description = "链接地址", example = "https://www.ynzykj.net")
    private String linkUrl;

    @Schema(description = "提示")
    private String tips;

    @Schema(description = "通知")
    private String notice;

    @Schema(description = "描述", example = "你说的对")
    private String description;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "html的content")
    private String contentFormat;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "图集")
    private List<String> pictures;

    @Schema(description = "附件")
    private List<String> files;

    @Schema(description = "阅读次数")
    private Integer views;

    @Schema(description = "是否置顶")
    private Integer topping;

    @Schema(description = "推荐状态")
    private Integer recommend;

    @Schema(description = "发布时间")
    private LocalDateTime publishTime;

    @Schema(description = "发布状态")
    private Integer publish;

    @Schema(description = "顺序")
    private Integer sort;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private Integer status;

}